var express = require('express');

var router = express.Router();

const { addInsurances,lgetAllInsurances,getUpInsurances,sureUpInsurance,deleteInsurances} = require("../controllers/insuranceType")
//新增
router.post('/addInsurances',addInsurances)
router.get('/lgetAllInsurances',lgetAllInsurances)
//获取单个ID
router.get('/getUpInsurances',getUpInsurances)

router.post('/sureUpInsurance',sureUpInsurance)

router.post('/deleteInsurances',deleteInsurances)
module.exports = router;
